package com.ryan.quartz.temp.factory;

/**
 * @author Rayn on 2017/10/29.
 * @email liuwei412552703@163.com.
 */
public class App {

    public static void main(String[] args) {


        PizzaStore2 pizza2 = new NYStylePizzaStore2();
        ChicagoPizzaStore2 factory = new ChicagoPizzaStore2();

        Pizza2 cheese = pizza2.orderPizza("cheese");


        Pizza2 pizza21 = factory.orderPizza("Cheese");




    }
}
